package com.itheima.baozhuang;
/*
int -->String
String --> in
 */
public class Demo03 {
    public static void main(String[] args) {
        int i=10;
        String s1=i+"";
        String s2=Integer.valueOf(i).toString();
        String s3=String.valueOf(i);
        System.out.println(s1);
        System.out.println(s2);
        System.out.println(s3);
        String s="200";
        int i1=new Integer(s);
        int i2 = Integer.valueOf(s);
        int i3 = Integer.parseInt(s);
        System.out.println(i1);
        System.out.println(i2);
        System.out.println(i3);


        Integer ii = Integer.valueOf("300");
        int i4 = ii.intValue();
        System.out.println(i4);

    }

}
